package io.renren.modules.answer.dto.input;

import io.renren.modules.answer.dto.output.OptionTwo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author liangbaigao
 * @Date 2022/10/7 21:23
 */
@Data
public class TopicInput {

    @NotNull
    @ApiModelProperty(value = "题目id",required = true)
    private Long topicId;

    @ApiModelProperty(value = "该题是否上传了pdf 0否 1是",required = true)
    @NotNull
    private Integer isPdf;

    @ApiModelProperty(value = "题目名称",required = true)
    @NotBlank
    private String topicName;

    @ApiModelProperty(value = "题目序号",required = true)
    @NotNull
    private Integer topicNumber;

    @ApiModelProperty(value = "题目选项",required = true)
    @NotNull
    private List<OptionTwo> option;
}
